package javaFeatures.javaPolymorphism;

public class JiuGuiJiu extends Wine {
	public JiuGuiJiu(){
		setName("JiuGuiJiu"); 
		}
		/**
		* 重写父类方法，实现多态
		*/
		public String drink(){
		return "喝的是 " + getName();
		}
		/**
		* 重写toString()
		*/
		public String toString(){
		return "Wine : " + getName();
		}
}
